package com.mote;

import android.R.id;
import android.app.Activity;
import android.os.Bundle;
import android.text.method.ScrollingMovementMethod;

import android.widget.ScrollView;
import android.widget.TextView;

public class Detail extends Activity{

	public TextView tv_mote;
	public ScrollView sv;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.detail);

		String detail = getIntent().getStringExtra("detail");
		

		tv_mote = (TextView) findViewById(R.id.detail);
		sv = (ScrollView) findViewById(R.id.scroll);

		tv_mote.setText(detail);
		
		tv_mote.setFocusable(true);
		tv_mote.setMovementMethod(ScrollingMovementMethod.getInstance());
		
		tv_mote.setClickable(true);
	}
}